﻿// --------------------------------------------------------------------------------------------------------------------
// <copyright file="IssuedSettingDescriptor.cs" company="Radical Research Ltd">
//   Copyright (c) Radical Research Ltd. The MIT License (MIT)
// </copyright>
// <summary>
//   Manages Issue DateTime setting stored in a value collection.
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace RadicalResearch.MiniState.Descriptors
{
    /// <summary>Manages Issue DateTime setting stored in a value collection.</summary>
    internal sealed class IssuedSettingDescriptor : DateTimeSettingDescriptor
    {
        #region Constructors and Destructors

        /// <summary>
        ///   Initializes a new instance of the <see cref = "IssuedSettingDescriptor" /> class.
        /// </summary>
        public IssuedSettingDescriptor()
            : base(ValueKeys.Issued, true, 2011)
        {
        }

        #endregion

        #region Properties

        /// <summary>
        ///   Gets the value key prefix.
        /// </summary>
        protected override string ValueKeyPrefix
        {
            get
            {
                return "1";
            }
        }

        #endregion
    }
}